[INFO] cloning repository https://github.com/alex-vo/rustlings
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alex-vo/rustlings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falex-vo%2Frustlings", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falex-vo%2Frustlings'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5eb33087c985e03a6441e5ffde936091029aa582
[INFO] fixing alex-vo/rustlings against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falex-vo%2Frustlings" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/alex-vo/rustlings
[INFO] finished tweaking git repo https://github.com/alex-vo/rustlings
[INFO] tweaked toml for git repo https://github.com/alex-vo/rustlings written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/alex-vo/rustlings on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/alex-vo/rustlings already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 0a93f2c67d1ec588b8a00d638f9909fd7befd6698507eb7017097285c9d66b35
[INFO] running `Command { std: "docker" "start" "0a93f2c67d1ec588b8a00d638f9909fd7befd6698507eb7017097285c9d66b35", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0a93f2c67d1ec588b8a00d638f9909fd7befd6698507eb7017097285c9d66b35" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0a93f2c67d1ec588b8a00d638f9909fd7befd6698507eb7017097285c9d66b35", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0a93f2c67d1ec588b8a00d638f9909fd7befd6698507eb7017097285c9d66b35" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking exercises v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]  --> exercises/22_clippy/clippy2.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 |     for x in option {
[INFO] [stdout]   |              ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]   |
[INFO] [stdout] 5 -     for x in option {
[INFO] [stdout] 5 +     while let Some(x) = option {
[INFO] [stdout]   |
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]   |
[INFO] [stdout] 5 -     for x in option {
[INFO] [stdout] 5 +     if let Some(x) = option {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: cannot divide `f64` by `usize`
[INFO] [stdout]  --> exercises/23_conversions/using_as.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 |     total / values.len()
[INFO] [stdout]   |           ^ no implementation for `f64 / usize`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Div<usize>` is not implemented for `f64`
[INFO] [stdout] help: the following other types implement trait `Div<Rhs>`
[INFO] [stdout]  --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/core/src/ops/arith.rs:511:8
[INFO] [stdout]   |
[INFO] [stdout]   = note: `f64` implements `Div`
[INFO] [stdout]  ::: /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/core/src/ops/arith.rs:524:0
[INFO] [stdout]   |
[INFO] [stdout]   = note: in this macro invocation
[INFO] [stdout]  --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/core/src/internal_macros.rs:22:8
[INFO] [stdout]   |
[INFO] [stdout]   = note: `&f64` implements `Div<f64>`
[INFO] [stdout]  ::: /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/core/src/internal_macros.rs:33:8
[INFO] [stdout]   |
[INFO] [stdout]   = note: `f64` implements `Div<&f64>`
[INFO] [stdout]  ::: /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/core/src/internal_macros.rs:44:8
[INFO] [stdout]   |
[INFO] [stdout]   = note: `&f64` implements `Div`
[INFO] [stdout]   = note: this error originates in the macro `div_impl_float` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "using_as" test) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0277]: cannot divide `f64` by `usize`
[INFO] [stdout]  --> exercises/23_conversions/using_as.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 |     total / values.len()
[INFO] [stdout]   |           ^ no implementation for `f64 / usize`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Div<usize>` is not implemented for `f64`
[INFO] [stdout] help: the following other types implement trait `Div<Rhs>`
[INFO] [stdout]  --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/core/src/ops/arith.rs:511:8
[INFO] [stdout]   |
[INFO] [stdout]   = note: `f64` implements `Div`
[INFO] [stdout]  ::: /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/core/src/ops/arith.rs:524:0
[INFO] [stdout]   |
[INFO] [stdout]   = note: in this macro invocation
[INFO] [stdout]  --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/core/src/internal_macros.rs:22:8
[INFO] [stdout]   |
[INFO] [stdout]   = note: `&f64` implements `Div<f64>`
[INFO] [stdout]  ::: /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/core/src/internal_macros.rs:33:8
[INFO] [stdout]   |
[INFO] [stdout]   = note: `f64` implements `Div<&f64>`
[INFO] [stdout]  ::: /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/core/src/internal_macros.rs:44:8
[INFO] [stdout]   |
[INFO] [stdout]   = note: `&f64` implements `Div`
[INFO] [stdout]   = note: this error originates in the macro `div_impl_float` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "using_as") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "0a93f2c67d1ec588b8a00d638f9909fd7befd6698507eb7017097285c9d66b35", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0a93f2c67d1ec588b8a00d638f9909fd7befd6698507eb7017097285c9d66b35", kill_on_drop: false }`
[INFO] [stdout] 0a93f2c67d1ec588b8a00d638f9909fd7befd6698507eb7017097285c9d66b35
